<template>
    <a-config-provider :locale="locale">
                <slot></slot>
    </a-config-provider>
</template>
<script setup>
import { ConfigProvider as AConfigProvider } from 'ant-design-vue';
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
dayjs.locale('zh-cn');
const locale = ref(zhCN)
</script>